import { createApp } from 'vue'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/es/locale/lang/zh-cn';//解决elementpLus一些组件是英文的问题
import App from './App.vue';
import { ElMessage } from 'element-plus'
import router from './router';
import store from './store'
import axios from 'axios'

axios.defaults.withCredentials = true;


const app = createApp(App)
app.use(router)
app.use(store)
app.use(ElementPlus,{
    locale:zhCn
})

app.mount('#app')